package visitorPattern

/**
 * 具体访问者
 */
class ConcreteVisitor : Visitor {
    override fun visit(element: ConcreteElementOne) {
        element.operation()
    }

    override fun visit(element: ConcreteElementTwo) {
        element.operation()
    }

}